package io.renren.modules.title.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName ExamTitle
 * @Author mengjiafeng
 * @Date 2019/9/4 10:10
 **/

/**
 * 题目
 */
@Data
@TableName("exam_title")
public class ExamTitle {
    @TableId
    private int id;
    //课程id
    private int cid;
    //科目名称
    private String course;
    //题目类型
    private int type;
    //难度
    private int difficulty;
    //答案
    private String answer;
    //问题
    private String question;
    //答案解析
    private String answerExplain;
    //是否被组成试卷
    private String compose_flag;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
